/**
 * 
 */
package truerefactor.refactor;

import java.util.List;

import truerefactor.graph.ClassNode;
import truerefactor.graph.CodeGraph;
import truerefactor.graph.CodeNode;

/**
 * An implementation of the Remove Middle Man Refactoring Technique
 * 
 * @author Isaac
 */
public class RemoveMiddleMan extends Refactoring {

    /**
     * 
     */
    public RemoveMiddleMan()
    {
        this.shortName = "REMMID";
        this.name = "Remove Middle Man";
        this.description = "";
    }

    /*
     * (non-Javadoc)
     * @see
     * truerefactor.refactor.Refactoring#execute(truerefactor.graph.CodeNode
     * [])
     */
    @Override
    public void execute(CodeGraph graph)
    {
        // 1. Create an accessor for the delegate

        // 2. For each client that uses the delegate method, remove the method
        // from the server and replace the call in the client to call the method
        // on the delegate.

    }
}
